﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XinjeMesProgram.Entities.Permission
{
    /// <summary>
    /// 权限元素.
    /// </summary>
    public class PermissionElement
    {
        /// <summary>
        /// Gets or sets 权限编码.
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// Gets or sets 权限名称.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether 是否已分配到指定角色.
        /// </summary>
        public bool IsAssignedToRole { get; set; }
    }
}

